<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ include file="/admin/jsp/taglibs.jsp"%>
<html>
	<head>
		<%@ include file="/admin/jsp/header.jsp"%>
		<%@ include file="/framework/jsp/validation.jsp"%>
		<script language="javascript" src="/framework/js/tips_alert.js"></script>
	</head>
	<body>
		<table width="98%" border="0" align="center" cellpadding="3" cellspacing="0">
			<tr>
				<td class="page-title">
					<img src="/admin/images/page_title.gif" alt="title" width="17" height="12" align="absmiddle">
					&nbsp;&nbsp; 系统管理 » 号段管理 » 号段新增
				</td>
			</tr>
		</table>
		<br>
		<form id="form" action="/admin/jsp/segmentMgr.do?method=saveSegment" method="post">
			<table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
				<tr>
					<td></td>
					<td align="left">带<font color="red">&nbsp;*&nbsp;</font>为必填项</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>手机号段:
					</td>
					<td>
						<input name="segmentCode" class="required validate-number min-length-3" type="text" id="segmentCode" size="20" maxlength="7">
						<a href="#"><img src="/admin/images/help.gif" tips="手机号段，最长7个字符" width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>号段地区:
					</td>
					<td>
						<select name="regionId" id="regionId" class="validate-one-checked">
								<option value="">--请选择--</option>
								<c:forEach var="region" items="${regionList}">
									<option value="<c:out value='${region.regionId}'/>"><c:out value="${region.regionName}"/></option>
								</c:forEach>
							</select>
						<a href="#"><img src="/admin/images/help.gif" tips="号段所在地区" width="14" height="15" border="0" align="absmiddle"> </a>
					</td>
				</tr>
				<tr>
					<td align="right" valign="middle">
						<font color="red">*&nbsp;</font>运营商:

					</td>
					<td>
						<select name="optId" id="optId" class="validate-one-checked">
							<option value="">--请选择--</option>
							<c:forEach var="opt" items="${optList}">
								<option value="<c:out value='${opt.optCode}'/>"><c:out value="${opt.optName}"/></option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td align="center" valign="middle" colspan="2">
						<input type="submit" class="short-button" value="确  定" />&nbsp;&nbsp;
						<input type="reset" class="short-button" value="重  置" />&nbsp;&nbsp;
						<input type="button" class="short-button" value="返  回" onclick="window.location='/admin/jsp/segmentMgr.do?method=querySegment'" />
					</td>
				</tr>
			</table>			
		</form>
	</body>
	<script type="text/javascript">
		new Validation('form',{immediate:true});
	</script>
</html>